home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
081-090
/
amok90
/
autodoc2.7
/
autodoc.doc
< prev
next >
Wrap
Text File
|
1993-11-04
|
2KB
|
59 lines
autodoc autodoc
NAME
autodoc - Extracts and sorts autodocs from the given files to
stdout.
SYNOPSIS
autodoc [ -i ] [ -a ] [ -s ] [ -m ] [ -C ] [-d]
[ -w ] [ -tnum ] [ -lnum ] [ -c ] [ -f ] [ -I ] {files}
DESCRIPTION
autodoc extracts autodocs from files {files}
Sorts the output to stdout.
Options offered by autodoc are the following:
-i Extract ONLY internal autodocs (autodocs that have an 'i'
as the 6th character in a line that begins an autodoc).
-a Process autodocs that begin with asterisk in the first
column.
-s Process autodocs that begin with semicolon in the first
column.
-m Process autodocs in Modula-2 language form.
-C Process autodocs in C language form.
-tnum Convert tabs into num spaces. (not yet implamented)
-lnum Set the line length to num. (default = 78 chars, max. 256).
-w Turn off word wrap. Chop lines longer than line length.
-d include definition module as entry --interface--
-c Convert C comments. From backslash asterisk to slash
asterisk. This allows comments in autodocs without nesting
comments. (not yet implemented)
-f Disable form feeds between autodoc entries.
-I Include a TABLE OF CONTENTS as the first part of the output.
USAGE
autodoc sends formatted file to standard output. User could redirect
this output to a file.
autodoc > outfile file
With the -d option there will automaticly be generated an entry
--interface-- if the filename ends with '.mod' and there exists a
corresponting '.def'-file. The contents of this file will be included
in this entry (without wordwrap).
Ex. to extract ALL possible autodocs except internal autodocs,
generate entry --interfaec-- and print with a table of contents.
autodoc > outfile -a -s -m -d -C -I file1
This filter must be used only with text files.
AUTHOR
hartmut Goebel